package
{
  
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	
	public class ScreenAchievements extends ScreenHome
	{
		
		private var skin:mcScreenAchievementsSkin;
		private var player:Player;
		
		public function ScreenAchievements(p:Player)
		{
			
			super();
			player = p;
			
		}
		
		override public function init():void
		{
			
			destroy();
			skin = new mcScreenAchievementsSkin();
			addChild(skin);
			skin.btnBackHome2.addEventListener(MouseEvent.CLICK, btnBackHome2);
			draw();
			
		}
		
		private function draw():void
		{
			
			var mc:MovieClip = null;
			var i:int = 0;
			var o:Object = { };
			
		}
		
		private function btnBackHome2(e:MouseEvent):void
		{
			
			gotoAndStop("Home");
			
		}
		
		override public function destroy():void
		{
			
			trace("kill.destroy");
			removeChild(skin);
			skin = null;
			
		}
	}
}